#include <stdio.h>

#include "FwLog.h"
#include "FwRule.h"

/**
 *  logs the rule's comment to the file.
 *  returns true/false on successfulness.
 */
int logpkt(const unsigned char* pkt, const int pktlen, FILE* file, const fwRuleNode* matchedRule){
	fprintf(file, "%s\n", matchedRule->coment);
	return 0;
}

